import Layout from '../views/layout/Layout'
const _import = require('./_import_' + process.env.NODE_ENV)
const CrmMenu = {
  path: '/organizationManager',
  component: Layout,
  name: '平台管理',
  meta: {
    title: '平台管理',
    icon: 'chart'
  },
  icon: 'chart',
  authority: 'organizationManager',
  children: [
    {
      path: 'platformManager',
      component: _import('crm/platform/index'),
      name: '平台管理',
      meta: {
        title: '平台管理',
        icon: 'chart'
      },
      authority: 'platformManager'
    },
    {
      path: 'platformDetail',
      component: _import('crm/platform/detail'),
      name: '平台详情',
      meta: {
        title: '平台详情',
        icon: 'tab'
      },
      authority: 'platformDetail',
      authFlag: false
    }]
}
export default CrmMenu
